package com.example.gateway.designPattern.strategy;

/**
 * @ClassName: Environment
 * @Description:
 * @Author: YourName
 * @Date: 2024/12/31
 */

public class Environment {

    Strategy strategy;

    public Environment (Strategy strategy){
        this.strategy = strategy;
    }

    public void calc(int a, int b){
        strategy.calc(a,b);
    }


}
